<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>大物品入记录管理</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet"
			href="<%=request.getContextPath()%>/css/common.css" type="text/css" />
		<script type='text/javascript'
			src='<%=request.getContextPath()%>/js/sorttable.js'></script>
			
		<script type='text/javascript'
			src='<%=request.getContextPath()%>/js/jquery-latest.pack.js'></script>			
		<script type='text/javascript'
			src='<%=request.getContextPath()%>/js/noConflictOfJquery.js'></script>
		<script type='text/javascript'
			src='<%=request.getContextPath()%>/js/forCSS.js'></script>
		<script type='text/javascript'>
			$j(function(){
				tbCSS();
			})
		</script>
			
	</head>

	<body>
		<div id="page_container">
			<h2>
				大物品入管理
			</h2>
			<table class="table_common sortable table_list_style"  rowclass="row_odd,row_even" width="600px">
				<tr>
					<th>
						学生学号
					</th>
					<th>
						物品类型
					</th>
					<th>
						入楼时间
					</th>
					<th>
						出楼时间
					</th>
					<th>
						出楼
					</th>
					<th>
						删除
					</th>
				</tr>
					<s:iterator value="rlil" status="st">
						<s:hidden name="registerlargeitemid" />
						<s:hidden value="registerlargeitemind" />
						<s:if test="#st.odd==true"><tr class="row_odd">
						</s:if>
						<s:else><tr class="row_even">
						</s:else>
						<td>
							<s:property value="studentno" />
						</td>
						<!-- 
						<td>
							<s:property value="username" />
						</td>
						 -->
						<td>
							<s:property
								value="registerlargeitemtype.registerlargeitemtypename" />
						</td>
						<td>
							<s:date name="registerlargeitemintime" format="yyyy-MM-dd hh:mm" />
						</td>
						<td>
							<s:date name="registerlargeitemouttime" format="yyyy-MM-dd hh:mm" />
						</td>
						<td>
							<a
								href="registerinfo/setregisterlargeitemintoout.action?registerlargeitemid=${registerlargeitemid}">出楼</a>
						</td>
						<td>
							<a
								href="registerinfo/deleteregisterlargeitemin.action?registerlargeitemid=${registerlargeitemid}"
								onclick="javascript: return window.confirm('确定删除吗?')"><img
									src="<%=request.getContextPath()%>/images/083.gif" /> </a>
						</td>

					</s:iterator>
			</table>

			<div class="navigator">
				共
				<s:property value="totalRows" />
				条&nbsp; 第
				<s:property value="currentPage" />
				页&nbsp; 共
				<s:property value="pager.getTotalPages()" />
				页&nbsp;
				<a
					href="<s:url value="/registerinfo/listallregisterlargeitemsin.action">
       <s:param name="currentPage" value="currentPage"/>
       <s:param name="pagerMethod" value="'first'"/>
       
      </s:url>">首页</a>
				<a
					href="<s:url value="/registerinfo/listallregisterlargeitemsin.action">
       <s:param name="currentPage" value="currentPage"/>
       <s:param name="pagerMethod" value="'previous'"/>
      </s:url>">上一页</a>
				<a
					href="<s:url value="/registerinfo/listallregisterlargeitemsin.action">
       <s:param name="currentPage" value="currentPage"/>
       <s:param name="pagerMethod" value="'next'"/>
      </s:url>">下一页</a>
				<a
					href="<s:url value="/registerinfo/listallregisterlargeitemsin.action">
       <s:param name="currentPage" value="currentPage"/>
       <s:param name="pagerMethod" value="'last'"/>
      </s:url>">尾页</a>
			</div>
		</div>
	</body>
</html>